package com.sjb.sixteen_journey_backend.service;

import com.sjb.sixteen_journey_backend.common.R;
import com.sjb.sixteen_journey_backend.entity.HotelTicket;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 酒店晒单表 服务类
 * </p>
 *
 * @author jcz
 * @since 2024-07-13
 */
public interface IHotelTicketService extends IService<HotelTicket> {

    R addHotelTicket(HotelTicket hotelTicketDto);
//    R addHotelTicket(HotelTicket hotelTicketDto, ArrayList<MultipartFile> images);

    R deleteHotelTicketById( Integer id);
//    R deleteHotelTicketById(Integer status, Integer id);

    R<List<HotelTicket>> showAllHotelTicket();

    R showAllHotelTicketById( Integer id,Boolean f);
//    R showAllHotelTicketById(Integer status, Integer id,Boolean f);

    R<List<HotelTicket>> showAllHotelTicketByUserId();

    HotelTicket setCountAndFollow(HotelTicket myTime);
}
